package com.liang.jiekou.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liang.jiekou.entity.RpcServiceResult;
import com.liang.jiekou.entity.dto.JhdByPurDto;
import com.liang.jiekou.entity.dto.JhdDto;
import com.liang.jiekou.entity.dto.backDto;
import com.liang.jiekou.entity.result.COPTCD;
import com.liang.jiekou.entity.result.PURTCD;

import java.net.UnknownHostException;
import java.util.List;
import java.util.Map;

public interface PURTCDService {

    PURTCD selectPURTCD(String TC001,String TC002);

//    List<PURTCD> selectPURTCDall();
    IPage<PURTCD> selectCOPTCDall(Page<PURTCD> page, String startcreate, String endcreate, String startupdate, String endupdate);

    RpcServiceResult<Map<String, Object>> insertjhd(JhdDto jhdDto) throws UnknownHostException;

    RpcServiceResult<Map<String, Object>> insertjhdByPur(JhdByPurDto jhdDto) throws UnknownHostException;

    Page<PURTCD> selectPurtcdcdPage(Integer page, Integer pageSize, String startcreate, String endcreate, String startupdate, String endupdate);

    RpcServiceResult backJhd(backDto backDto) throws UnknownHostException;
}
